package com.wxisme.javaobserver;

import java.util.Observable;

public class ConcreteSubject extends Observable {
	private int state;
	
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
		setChanged();
		notifyObservers(state);
	}
}
